//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Chris Tomlin','Angel of the Winds Arena','Everett, WA','Thursday','5/2/2024','7:00 PM','6203593','Chris-Tomlin-5-2-2024'],['Washington Wolfpack vs. Rapid City Marshals','Angel of the Winds Arena','Everett, WA','Sunday','5/5/2024','3:00 PM','6388439','Washington-Wolfpack-vs--Rapid-City-Marshals-5-5-2024'],['Washington Wolfpack vs. West Texas Desert Hawks','Angel of the Winds Arena','Everett, WA','Sunday','5/12/2024','12:30 PM','6380579','Washington-Wolfpack-vs--West-Texas-Desert-Hawks-5-12-2024'],['All Elite Wrestling: Dynamite','Angel of the Winds Arena','Everett, WA','Wednesday','5/15/2024','4:30 PM','6328624','All-Elite-Wrestling--Dynamite-5-15-2024'],['Riley Green, Tracy Lawrence & Ella Langley','Angel of the Winds Arena','Everett, WA','Friday','5/17/2024','7:00 PM','5926237','Riley-Green--Tracy-Lawrence---Ella-Langley-5-17-2024'],['Washington Wolfpack vs. Louisiana Voodoo','Angel of the Winds Arena','Everett, WA','Saturday','5/18/2024','3:00 PM','6380203','Washington-Wolfpack-vs--Louisiana-Voodoo-5-18-2024'],['Washington Wolfpack vs. Oregon Black Bears','Angel of the Winds Arena','Everett, WA','Thursday','5/23/2024','5:00 PM','6380204','Washington-Wolfpack-vs--Oregon-Black-Bears-5-23-2024'],['Sesame Street Live!','Angel of the Winds Arena','Everett, WA','Saturday','5/25/2024','2:00 PM','6085757','Sesame-Street-Live--5-25-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Angel of the Winds Arena','Everett, WA','Saturday','6/1/2024','12:30 PM','6283604','Hot-Wheels-Monster-Trucks-Live---Glow-Party-6-1-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Angel of the Winds Arena','Everett, WA','Saturday','6/1/2024','7:30 PM','6283605','Hot-Wheels-Monster-Trucks-Live---Glow-Party-6-1-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Angel of the Winds Arena','Everett, WA','Sunday','6/2/2024','2:30 PM','6283611','Hot-Wheels-Monster-Trucks-Live---Glow-Party-6-2-2024'],['Shreya Ghoshal','Angel of the Winds Arena','Everett, WA','Friday','6/21/2024','7:30 PM','6329247','Shreya-Ghoshal-6-21-2024'],['Washington Wolfpack vs. Billings Outlaws','Angel of the Winds Arena','Everett, WA','Saturday','6/29/2024','3:00 PM','6380484','Washington-Wolfpack-vs--Billings-Outlaws-6-29-2024'],['Ice Cube','Angel of the Winds Arena','Everett, WA','Thursday','7/18/2024','8:00 PM','6295137','Ice-Cube-7-18-2024'],['Dwight Yoakam & The Mavericks','Angel of the Winds Arena','Everett, WA','Saturday','7/20/2024','7:00 PM','6303484','Dwight-Yoakam---The-Mavericks-7-20-2024'],['Phil Wickham & Brandon Lake','Angel of the Winds Arena','Everett, WA','Sunday','8/25/2024','7:00 PM','6314902','Phil-Wickham---Brandon-Lake-8-25-2024'],['Ian Munsick','Angel of the Winds Arena','Everett, WA','Tuesday','9/10/2024','6:40 PM','6373053','Ian-Munsick-9-10-2024'],['Endurocross','Angel of the Winds Arena','Everett, WA','Saturday','11/16/2024','7:00 PM','6326129','Endurocross-11-16-2024']],'Comcast Arena at Everett','http://www.ticketnetwork.com/ticket/Comcast-Arena-at-Everett-events.aspx');